/**
 * Created by fengyg on 2017/4/13.
 */
//根据申请单号查询血液需求
function loadBloodCapacity(applyNum){
    $.ajax({
        url: ctx + '/blood/bloodMatch/getPatientInformation?applyNum=' + applyNum,
        type: 'get',
        contentType: 'application/json',
        async: true,
        success: function (data, textStatus, jqXHR) {
            $('#visitNo').html(data.visitNo);
            $('#patientName').html(data.patientName);
            $('#sex').html(data.sex);
            $('#age').html(data.age);
            $('#appDept').html(data.appDept);
            $('#patBloodGroup').html(data.patBloodGroup);
            $('#rh').html(data.rh);
            $('#chargeType').html(data.chargeType);
            $('#createDate').html(data.createDate);
            $('#appDoctorName').html(data.appDoctorName);
            $('#fastSlow').html(data.fastSlow);
        },
        error: function (XMLHttpRequest, textStatus, errorThrown) {}
    });
    loadDiv('bloodRequire', ctx + '/blood/bloodMatch/getBloodRequireByApplyNum?applyNum=' + applyNum);
}